package models

// RegisterForm definiton.
type RegisterForm struct {
	Phone    string `json:"phone" validate:"required"`
	Name     string `json:"name" validate:"required"`
	Password string `json:"password" validate:"required"`
}

// LoginForm definiton.
type TokenForm struct {
	Phone    string `json:"phone" validate:"required"`
	Password string `json:"password" validate:"required"`
}

// LoginInfo definiton.
type LoginInfo struct {
	UserInfo *User  `json:"user"`
	Token    string `json:"token"`
}
